import axios from '../utils/axios'
export function add(emp){
    console.log('emp.add')
    return axios.post("/emp/add",emp)
}
export function remove(id){
    return axios.get("/emp/remove",{
        params:{
            id
        }
    })
}
export function modifyStatus(id,status){
    return axios.get("/emp/modifyStatus",{
        params:{
            id,
            status
        }
    })
}
export function modify(emp){
    return axios.post("/emp/modify",emp)
}
export function find(searchForm){
    return axios.get("/emp/find",{
        params:searchForm
    })
}